package com.mhc.suzuki.manager;

import com.subaru.common.query.PageResult;
import com.mhc.suzuki.dal.model.RefundDepositDO;
import com.mhc.suzuki.dal.query.RefundDepositQuery;

import java.util.List;


/**
 * Manager for RefundDeposit.
 */
public interface RefundDepositManager {
    /**
     * query count by query condition.
     */
    int countByQuery(RefundDepositQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(RefundDepositQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(RefundDepositDO record);

    /**
     * insert selective.
     */
    long insertSelective(RefundDepositDO record);

    /**
     * select by query condition.
     */
    List<RefundDepositDO> selectByQuery(RefundDepositQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<RefundDepositDO> selectByQueryWithPage(RefundDepositQuery query);

    /**
     * select by primary key.
     */
    RefundDepositDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( RefundDepositDO record,  RefundDepositQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(RefundDepositDO record, RefundDepositQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(RefundDepositDO record);
}